package cn.myfirefly.core.model;

import java.util.ArrayList;
import java.util.List;

public class PageResultDto<T> implements java.io.Serializable {
	private static final long serialVersionUID = -7842868912739182226L;
	Integer total = 0;
    Integer pageCurrent = 1;
    //每页的数量
    Integer pageSize = 20;
    List<T> list = new ArrayList<>();

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}
    
    public Integer getPageCurrent() {
		return pageCurrent;
	}

	public void setPageCurrent(Integer pageCurrent) {
		this.pageCurrent = pageCurrent;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
}
